package cn.ycxy.lbl.pojo.search.vo;

import cn.ycxy.lbl.pojo.member.vo.UserDetailVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "搜索商品信息模板")
@Data
public class DiscussPostsVO implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图片集合")
    private String imgUrls;

    @ApiModelProperty(value = "帖子评论总数")
    private Integer commentCount;

    @ApiModelProperty(value = "0-失物招领; 1-拼车服务; 2-校园风景; 3-二手交易")
    private Integer type;

    @ApiModelProperty(value = "商品原总价")
    private BigDecimal amountOfOriginalPrice;

    @ApiModelProperty(value = "商品现总价")
    private BigDecimal amountOfCurrentPrice;

    @ApiModelProperty(value = "0-正常; 1-拉黑;")
    private Integer status;

    @ApiModelProperty(value = "数据创建时间")
    private Long createTime;

    @ApiModelProperty(value = "数据最后更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "发帖用户")
    private UserDetailVO userDetailVO;
}
